<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>订单列表-用户中心</title>
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/order/index">交易管理</a> > 订单列表 </div>
    {include member.inc.leftNav}
    <div class="main">
        <h1 class="header">订单列表</h1>
        <section class="panel">
            <div class="tab-menu">
                <ul>
                    <li><a href="/member/order/index?order_status=all"{if $order_status=='all' || $order_status==''} class="active"{/if}>全部</a>
                        {if $total>0}<span class="badge">{$total}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$WAIT_FOR_MERCHANT_CONFIRMATION}"{if $order_status=="$WAIT_FOR_MERCHANT_CONFIRMATION"} class="active"{/if}>待卖家确认</a>
                        {if $merchant_confirmTotal>0}<span class="badge">{$merchant_confirmTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$WAIT_FOR_USER_CONFIRMATION}"{if $order_status=="$WAIT_FOR_USER_CONFIRMATION"} class="active"{/if}>待买家确认</a>
                        {if $user_confirmTotal>0}<span class="badge">{$user_confirmTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$ORDER_STATUS_UNPAY}"{if $order_status=="$ORDER_STATUS_UNPAY"} class="active"{/if}>待支付</a>
                        {if $noPayTotal>0}<span class="badge">{$noPayTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$ORDER_STATUS_TO_BE_SHIPPED}"{if $order_status==$ORDER_STATUS_TO_BE_SHIPPED} class="active"{/if}>待发货</a>
                        {if $noShippedTotal>0}<span class="badge">{$noShippedTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$ORDER_STATUS_SHIPPED}"{if $order_status==$ORDER_STATUS_SHIPPED} class="active"{/if}>已发货</a>
                        {if $shippedTotal>0}<span class="badge">{$shippedTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$ORDER_STATUS_CANCELED}"{if $order_status==$ORDER_STATUS_CANCELED} class="active"{/if}>已取消</a>
                        {if $cancelTotal>0}<span class="badge">{$cancelTotal}</span>{/if}
                    </li>
                    <li><a href="/member/order/index?order_status={$ORDER_STATUS_COMPLETED}"{if $order_status==$ORDER_STATUS_COMPLETED} class="active"{/if}>已完成</a>
                        {if $completeTotal>0}<span class="badge">{$completeTotal}</span>{/if}
                    </li>
                </ul>
            </div>
            <div class="list_wrap" data-nav_type="tab">
                {include member.order.order_index_page}
            </div>
        </section>
    </div>
</main>


{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('trade_com',function(trade_com){
       trade_com.orderList();
   });
</script>
{include member.inc.foot_hook}
</body>
</html>
